package common;

import java.io.Serializable;

public class Message implements Serializable {

	/**
	 * 
	 */
	
	private static final long serialVersionUID = 1L;
	
	private String action;
	
	private String benutzer;
	private String password;
	
	private String answer;
	private int code;
	
	
	public void setAction(String action){
		this.action = action;
	}
	public String getAction(){
		return action;
	}
	
	
	public void setBenutzer(String benutzer){
		this.benutzer = benutzer;
	}
	public String getBenutzer(){
		return this.benutzer;
	}
	
	
	public void setPassword(String pw){
		this.password = pw;
	}
	public String getPassword(){
		return this.password;
	}
	
	
	public void setAnswer(String text) {
		this.answer = text;
	}
	public String getAnswer() {
		return answer;
	}
	
	
	public void setCode(int code) {
		this.code = code;
	}
	public int getCode() {
		return code;
	}
	
	
}
